package com.bkhech.api.feign;


import com.bkhech.grace.result.GraceJSONResult;
import com.bkhech.pojo.vo.UsersVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("main-service")
public interface UserFein {


    @PostMapping("/userinfo/updateFace")
    GraceJSONResult<UsersVO> updateFace(@RequestParam String userId, @RequestParam String face);


    @PostMapping("/userinfo/uploadFriendCircleBg")
    GraceJSONResult<UsersVO> uploadFriendCircleBg(@RequestParam("userId") String userId, @RequestParam("friendCircleBg") String friendCircleBg);

    @PostMapping("/userinfo/uploadChatBg")
    GraceJSONResult<UsersVO> uploadChatBg(@RequestParam  String userId, @RequestParam String chatBg);
}
